package cn.wen.forum.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/**
 * @ClassName TestController
 * @Author By wen
 * @Description
 * @Date 2023/7/7 15:11
 * @Version 1.0
 */
@Controller
@RequestMapping("ttt")
public class TestController {

    @RequestMapping(value = "/this",method = RequestMethod.GET)
    public String testst(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("123");
        return "123";
    }


    public static void main(String[] args) {
        String s = "adhjsdhjs";

    }
}
